Return the sizeof a struct from a CLR. Equivalent to sizeof operator but works on generics too.
シンタックス
'宣言
Public Overloads Shared Function SizeOf(Of As {New, Struct})( _
ByVal () As _
) As System.Integer
public static System.int SizeOf<>(
[]
)
where T: new(), struct
パラメータ
- array
型パラメータ
- T
- A struct to evaluate.
戻り値の型
Size of this struct.
参照